package com.hxl.access.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 功能描述
 *
 * @author: hxl
 * @date: 2023年12月31日 13:17
 */
@Data
public class Realdata {
    private Integer channelId;

    private String position;

    private String ch4;

    private String co;

    private String h2;

    private String co2;

    private String o2;

    private String n2;

    private String c2h4;

    private String c2h2;

    private String c2h6;

    private String rati1;

    private String rati2;

    private String rati3;

    private String bombstate;

    private String firestate;

    private String gramham;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date time;
}
